
/*面包屑导航 */
.crumb-wrap{
    height: 38px;
    line-height: 38px;
}
.crumb-wrap em{
    font-family: icomoon;
    margin: 0px 10px 0px;
}

/* 产品详细信息 */
.product-intro{
    /*background-color: orange;*/
    /*height: 600px;*/
    overflow: hidden;
}
/* 预览图 */

.preview-wrap{
    float: left;
    width: 400px;
    height: 520px;
}

/* 主图容器 */
.preview-img{
    position: relative;
    width: 398px;
    height: 398px;
    border: 1px solid #ccc;
}

.preview-img>img{
    width: 398px;
    height: 398px;
}

/* 预览小图盒子：有左、右箭头和5个小图 */
.preview-list{
    position: relative;
    width: 398px;
    height: 66px;
    margin-top: 55px;
    padding-top: 6px;
}

/* 存放5张预览的小图 */
.list-item{
    width: 320px;
    height: 60px;
    margin: 0 auto ;
}


.list-item li{
    float: left;
    margin-right: 4px;  /* 小图之间的距离 */
    border: 1px solid transparent;
}
/* 当前图 */
.list-item li.current{
    border: 1px solid #b1191a;
}

.list-item li img{
    width: 58px;
    height: 58px;
}
/*左右箭头(绝对定位)*/
.arrow-prev{
    position: absolute;
    background: url(../images/btn-prev.png) no-repeat;  /* 尺寸 22*32  */
    width: 22px;
    height: 32px;
    top: 20px;
    left: 0px;
}

.arrow-next{
    position: absolute;
    background: url(../images/btn-next.png) no-repeat;  /* 尺寸 22*32  */
    width: 22px;
    height: 32px;
    top: 20px;
    right: 0px;
}

/* 小预览图下方的分享按钮等*/
.product-share{
    margin-top: 15px;
}
.left-btns a{
    margin: 0px 5px 0px;
}

.right-btns input{
    vertical-align: middle;  /* 行内元素的垂直居中：top,bottom,middle,baseline */
    margin-right: 3px;
}


/* 商品的详情介绍 iteminfo-wrap */
.iteminfo-wrap{
    float: right;
    width: 720px;
    /*  height: 600px;  */
    /*background-color: skyblue;*/
}

.sku-name{
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
    color: #666;
}

.news{
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    margin-bottom: 8px;
}

/* 商品摘要信息 */
.summary{

}

.summary dl{

    /* 如何解决父盒子高度塌陷问题  */
    overflow: hidden;
    padding-top: 8px;
}

.summary dt{
    float: left;
    width: 50px;
    height: 30px;
    line-height: 30px;
    padding: 0px 10px;   /*  上下、左右 */
    /*padding-left: 10px;*/
    /*padding-right: 10px;*/
    /*padding-top: 12px;*/
    /*padding-bottom: 12px;*/
    /*background-color: yellow;*/
}

.summary dd{
    position: relative;
    float: left;
    width: 650px;
    /*height: 30px;*/
    line-height: 30px;
    /*padding-top: 12px;*/
    /*padding-bottom: 12px;*/
    /*background-color: greenyellow;*/
}

.summary-price{
    background-color: #fee9eb;
}
.summary-price .price{
    color: #e12228;
    font-size: 20px;
}

.summary-price .pingjia{
    position: absolute;
    right: 30px;
}

.summary-price .pingjia a{
    color: #1474af;
}

.summary-promotion{
    background-color: #fee9eb;
}

.summary-promotion dd{
    width: 540px;
}

.summary-promotion .jiajiagou{
    display: inline-block;
    width: 40px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background-color: #c81623;
    color: #ffffff;
}

.choose-btn{
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0px 16px;
    border:1px solid #ededed;
    background-color: #f7f7f7;
}

.choose-btn.current{
    border-color: #c81623;
}

/*  购买按钮组  */
.buy-btn-group{
    /*background-color: skyblue;*/
    margin-top: 28px;
    /*  撑起父盒子   */
    overflow: hidden;
    padding-bottom: 20px;
}

.choose-amount{
    float: left;
    position: relative;
    height: 44px;
    width: 49px;
    border: 1px solid #cccccc;
    margin-left: 10px;
}

.choose-amount input{
    height: 44px;
    width: 33px;
    text-align: center;
    border: 0px;
}

.choose-amount a{
    display: block;
    position: absolute;
    right: 0px;
    width: 15px;
    background-color: #f1f1f1;
    text-align: center;
    line-height: 22px;
}

.choose-amount .add{
    height: 21px;
    top: 0px;
    /*   左、下边框   */
    border-left: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.choose-amount .reduce{
    height: 22px;
    bottom: 0px;
    /*   左边框   */
    border-left: 1px solid #cccccc;
}

.add-cart{
    float: left;
    display: block;
    height: 44px;
    width: 142px;
    background-color: #c81623;
    border: 1px solid #c81623;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    line-height: 46px;
    margin-left: 10px;
    font-weight: 700;
}

.add-cart:hover{
    background-color: #fff;
}


/*产品详情模块*/
.product-detail{
    min-height: 500px;  /* 临时高度，后面要删除的 */
    margin-bottom: 20px;
    overflow: hidden;  /*  触发本身的高度要重新计算*/
}

.aside{
    min-height: 500px;
    width: 208px;
    border: 1px solid #ccc;
    padding-bottom: 20px;
}

.detail{
    min-height: 500px;
    width: 978px;
    /*background-color: greenyellow;*/
}

/*  aside-tab-list  */
.aside-tab-list li{
    height: 33px;
    background-color: #f1f1f1;
    border-bottom:1px solid #ccc ;
    text-align: center;
    line-height: 33px;
    font-size: 13px;
}

.fenlei{
    float: left;
    width: 104px;
}
.pinpai{
    float: right;
    width: 103px;
    border-left:1px solid #ccc ;
}

.aside-tab-list .current{
    color: #cf353e;
    border-bottom:1px solid #ffffff !important;
    background-color: #fff !important;
}


.aside-tab-content ul{
    width: 180px;  /*  208 -180 = 28 */
    background-color: skyblue;
    margin: 0 auto;
}

.aside-tab-content li{
    float: left;
    width: 90px;
    height: 28px;
    line-height: 28px;
    border-bottom: 1px dashed #cccccc;
}

.also-buy{
    width:  180px;
    margin: 0 auto;
}
.also-buy-title{
    height: 30px;
    line-height: 30px;

}


.also-buy-content li{
    display: block;
    height: 228px;
    width: 180px;
    border-bottom: 1px dashed #ccc;
}

.also-buy-content li img{
    display: block;
    width: 120px;
    margin: 0 auto;
}

/* 如何让标题文字只显示一行，显示不出的用省略号代替
3步骤：
    1.文字不能换行  white-space: nowrap;
    2.超出一行能出容纳的内容，要隐藏起来  overflow: hidden;
    3.隐藏起来的内容，显示为省略号   text-overflow: ellipsis;

*/

.also-buy-content li h5{
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
}

.also-buy-content li p{
    font-size: 13px;
    font-weight: 700;
}

.also-buy-content li a{
    display: block;
    width: 88px;
    height: 26px;
    margin: 0 auto;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 26px;
}

/* detail盒子 */
.detail-tab-list{
    height: 40px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ccc;
}

.detail-tab-list li{
    float: left;
    height: 40px;
    /* 宽度要让文字撑开    */
    padding-left: 15px;
    padding-right: 15px;
    /* padding合并写法：上，右，下，左 */
    padding: 0px 15px 0px 15px;
    /* padding合并写法：上，（左右），下 */
    padding: 0px 15px 0px;
    /* padding合并写法：（上下），（左右）， */
    padding: 0px 15px;
    line-height: 40px;
}

.detail-tab-list .current{
    background-color: #c81623;
    color: #ffffff;
}

.detail-intro-text{
    /*padding-top: 20px;*/
    /*padding-left: 20px;*/
    padding: 20px 0 0 20px;
}

.detail-intro-text li{
    line-height: 24px;
}

.detail-intro-text p{
    float: right;
    padding-right: 20px;
    margin-bottom: 20px;
    font-family: icomoon;
}

/* 图片放大镜效果 */
.mask{
    display: none;
    position: absolute;
    background-color: #dcdc78;
    opacity: 0.5;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    cursor: move;
}

.big{
    display: none;
    position: absolute;
    left: 400px;
    top:-1px;
    z-index: 100;
    border: 1px solid #cccccc;
    width: 500px;
    height: 500px;
    overflow: hidden;
}

.big img{
    position: absolute;
}

